package com.woniu.account.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年04月02日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_user_info")
public class TUserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    @TableField("user_name")
    private String userName;

    @TableField("user_pass")
    private String userPass;

    @TableField("user_phone")
    private String userPhone;

    @TableField("user_nickname")
    private String userNickname;

    @TableField("user_email")
    private String userEmail;

    @TableField("user_age")
    private Integer userAge;

    /**
     * 1 男 2女
     */
    @TableField("user_gender")
    private Integer userGender;

    @TableField("user_photo")
    private String userPhoto;

    @TableField("user_idnum")
    private String userIdnum;

    @TableField("user_realname")
    private String userRealname;

    @TableField("user_image")
    private String userImage;

    @TableField("collect_coach_id")
    private Integer collectCoachId;

    @TableField("collect_course_id_")
    private Integer collectCourseId;

    /**
     *  0冻结 1正常 2未认证
     */
    @TableField("user_state")
    private Integer userState;

    @TableField("remark")
    private String remark;


}
